package com.harmonk.firstscene.db.entity

import androidx.room.Embedded
import androidx.room.Relation

data class EventWithAll(
    @Embedded
    var trafficEvent: TrafficEvent,
    @Relation(
        parentColumn = "eventId",
        entityColumn = "eventId"
    )
    var vehicles: List<Vehicle> = emptyList(),
    @Relation(
        parentColumn = "eventId",
        entityColumn = "eventId"
    )
    var persons: List<Person> = emptyList(),
    @Relation(
        parentColumn = "eventId",
        entityColumn = "eventId"
    )
    var eventNotes: List<EventNote> = emptyList()
)